package com.gitee.cashzhang.test.basic.thread;

import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/05/09 10:54
 */
public class Thread3 implements Callable {

  @Override
  public Object call() throws Exception {
    return null;
  }

  public static void main(String[] args) {
    Thread3 thread3 = new Thread3();
    FutureTask futureTask = new FutureTask(thread3);
    Thread thread = new Thread(futureTask);
    thread.start();
  }
}
